package java_DesignPattern.SixPrinciple.LiskovSubstitutionPrinciple.fault;

/**
 * 正方形类
 */
public class Square extends Rectangle {

    public void setLen(int len){
        super.setLen(len);
        super.setWidth(len);
    }

    public void setWidth(int width){
        super.setLen(width);
        super.setWidth(width);
    }
}
